<?php
error_reporting(0);
include('chksession.php');
ini_set( 'date.timezone', 'Asia/Kolkata' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html ng-app="myApp" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>First North Global</title>
<link rel="stylesheet" type="text/css" href="css/text.css" />
<link rel="stylesheet" type="text/css" href="datepickr.css" />
<link type="text/css" href="css/smoothness/ui.css" rel="stylesheet" />  
<link rel="stylesheet" type="text/css" href="ng-grid.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link href="bootstrap.min.css" rel="stylesheet">       
<link rel="stylesheet" href="jquery-ui.css">     
<script src="jquery-idleTimeout.js" type="text/javascript" charset="utf-8"></script>  

<!--        <link rel="stylesheet" type="text/css" href="themes/redmond/jquery-ui.css" />
--> <script src="jquery.min.js"></script>
    <script src="angular.min.js"></script>
    <script type="text/javascript" src="ng-grid.debug.js"></script>
    <script type="text/javascript" src="jquery-ui-1.10.3.custom.min.js"></script>
    
    <script type="text/javascript" src="ng-grid-csv-export.js"></script>
    <script type="text/javascript" src="ng-grid-flexible-height.js"></script>
    <script type="text/javascript" src="js/blend/jquery.blend.js"></script>
    <script type="text/javascript" src="js/ui.core.js"></script>
	<script type="text/javascript" src="js/ui.sortable.js"></script>    
    <script type="text/javascript" src="js/ui.dialog.js"></script>
    <script type="text/javascript" src="js/ui.datepicker.js"></script>
    <script type="text/javascript" src="js/effects.js"></script>
    <script type="text/javascript" src="js/flot/jquery.flot.pack.js"></script>
    <!--[if IE]>
    <script language="javascript" type="text/javascript" src="js/flot/excanvas.pack.js"></script>
    <![endif]-->
	<!--[if IE 6]>
	<link rel="stylesheet" type="text/css" href="css/iefix.css" />
	<script src="js/pngfix.js"></script>
    <script>
        DD_belatedPNG.fix('#menu ul li a span span');
    </script>        
    <![endif]-->
    <script id="source" language="javascript" type="text/javascript" src="js/graphs.js"></script>
	<script type="text/javascript" src="datepickr.min.js"></script>
	<script type="text/javascript">new datepickr('datepick');
	</script>
	<script src="bootstrap.min.js"></script>
	
<script>
	var timer = 0;
	function set_interval() {
		timer = setInterval("auto_logout()", 300000); //seconds * 1000
	}

	function reset_interval() {	
		if (timer != 0) {
			clearInterval(timer);
			timer = 0;	
			timer = setInterval("auto_logout()", 300000);	
		} 
	}

	function auto_logout() {	
		alert("Your session has been timed out");
		window.location = "index.php";
	}
</script>
	
</head>
<body onLoad="set_interval();" onclick="reset_interval();" onkeypress="reset_interval();" onscroll="reset_interval();">
 <div class="navbar navbar-inverse">
      <div class="navbar-inner navbar-inverse">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-responsive-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
 <!--         <a class="brand" href="#">Dashboard</a>-->
          <div class="nav-collapse collapse navbar-responsive-collapse">
            <ul class="nav">
    <li><a href="viewgriddata.php">Dashboard</a></li>
    <!-- 	<li><a href="transaction.php">Transaction</a></li> -->
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">Transaction<b class="caret"></b> </a>
			<ul class="dropdown-menu">
				<li><a href="order_entry_ajs.php#/editorder/">Add Transaction</a></li>
		       <li><a href="tran_search_ajs.php#/edittran/">Uploaded tran</a></li>
			</ul>
	</li>
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">Admin<b class="caret"></b> </a>
			<ul class="dropdown-menu">
				<li><a href="prod_master_ajs.php#/editprod/">Product Master</a></li>
				<li><a href="vat_master_ajs.php#/editvat/">Value Added Tax (VAT Master)</a></li>
		        <li> <a href="customer_search_ajs.php#/editcust/">Customer Master Details</a> </li>
		       
			</ul>
	</li>
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">Master Entries<b class="caret"></b> </a>
			<ul class="dropdown-menu">
		        <li> <a href="soc_master_ajs.php">Society Master </a> </li>
		        <li> <a href="soc_cust_master.php">Customer Master</a> </li>
		        <li> <a href="payment.php">Payment Master</a> </li>
		        <li> <a href="stbtype.php">STB Type Master</a> </li>
		        <li> <a href="stbdetails.php">STB Details Master</a> </li>		        
		        <li> <a href="stbtocust.php">STB to Customer Master</a> </li>	
		        <li> <a href="replace.php">Replacement Master</a> </li>	
				 <li> <a href="districtmast.php">District Master</a> </li>	
				 <li> <a href="couriermast.php">Courier Master</a> </li>	
				 <li> <a href="xltosql.php">Upload transaction</a> </li>	
				 <li> <a href="field_upload.php">Upload Fields</a> </li>	
			</ul>
	</li>
	<li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">MIS<b class="caret"></b> </a>
			<ul class="dropdown-menu">
		        <li> <a href="report_mis.php">MIS report </a> </li>
		        <li> <a href="report_outstanding.php">Outstanding report</a> </li>		        
		        <li> <a href="report_conn_cnt.php">Connection report</a> </li>		        
		        <li> <a href="report_ageing.php">Ageing report</a> </li>		        
		        <li> <a href="report_mcoll.php">Monthly collection</a> </li>		        
		        <li> <a href="report_avg_billing.php">Monthly Billing Rate</a> </li>		        
			</ul>
	</li>
	
	<li class="dropdown">
			<a class="dropdown-toggle" data-toggle="dropdown" href="#">User Management<b class="caret"></b></a>
			<ul class="dropdown-menu">
			<li> <a href="adduser.php">Add User</a></li>
			<li> <a href="changepass.php">Change Password</a></li>
			<li> <a href="logout.php">Log Out</a></li>
			</ul></li>
	   
       <li class="dropdown">
		<a class="dropdown-toggle" data-toggle="dropdown" href="#">Utility<b class="caret"></b></a>
		<ul class="dropdown-menu">
	       <li> <a href="transaction_upload.php">Upload Data</a></li>
    	</ul>
	</li> 
    
    
	<li class = "disabled" class="dropdown"><a href="#">Help</a></li>
			</ul>
	    <!-- End Dynamic Nav -->
         </li>
            </ul>
          </div><!-- /.nav-collapse -->
        </div>
      </div><!-- /navbar-inner -->
</div>

